package com.fc.test.mapper.auto;

import com.fc.test.model.auto.Policy;
import com.fc.test.model.auto.PolicyExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * 惠民政策 PolicyMapper
 * @author fuce_自动生成
 * @email 1345625601@qq.com
 * @date 2020-11-06 20:15:50
 */
public interface PolicyMapper {
      	   	      	      	      	      
    long countByExample(PolicyExample example);

    int deleteByExample(PolicyExample example);
		
    int deleteByPrimaryKey(Integer id);
		
    int insert(Policy record);

    int insertSelective(Policy record);

    List<Policy> selectByExample(PolicyExample example);
		
    Policy selectByPrimaryKey(Integer id);
		
    int updateByExampleSelective(@Param("record") Policy record, @Param("example") PolicyExample example);

    int updateByExample(@Param("record") Policy record, @Param("example") PolicyExample example); 
		
    int updateByPrimaryKeySelective(Policy record);

    int updateByPrimaryKey(Policy record);
  	  	
}